package com.lanchetech.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Collection;

import com.lanchetech.entity.ReplaceImage;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ReplaceImageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ReplaceImage record);

    int insertSelective(ReplaceImage record);

    ReplaceImage selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ReplaceImage record);

    int updateByPrimaryKey(ReplaceImage record);

    List<ReplaceImage> findAllByFromUrlIn(@Param("fromUrlCollection") Collection<String> fromUrlCollection);

    int batchInsert(@Param("list") List<ReplaceImage> list);
}